package com.browsesoft.tools;

import org.w3c.dom.Document;
import org.w3c.dom.Node;

/**
 * 
 */
public class XMLTool {
	/**
	 * 
	 */
	public static Node createTextNode(Document doc, String text)
			throws Exception {
		//
		if (text == null) {
			throw new Exception("");
		}
		return doc.createTextNode(text);
	}
}